package com.jzr.bedside.db1.model;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 护士表
 * </p>
 *
 * @author henry
 * @since 2019-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TNurse对象", description="护士表")
public class TNurse implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_nurse";
    public static final String Id_ = "id";
    public static final String Code_ = "code";
    public static final String DistrictCode_ = "district_code";
    public static final String DeptCode_ = "dept_code";
    public static final String UserId_ = "user_id";
    public static final String Name_ = "name";
    public static final String Sex_ = "sex";
    public static final String Marriage_ = "marriage";
    public static final String Birthday_ = "birthday";
    public static final String PcaCode_ = "pca_code";
    public static final String Address_ = "address";
    public static final String PostCode_ = "post_code";
    public static final String Mobile_ = "mobile";
    public static final String Intro_ = "intro";
    public static final String Specialty_ = "specialty";
    public static final String AreaCode_ = "area_code";
    public static final String Education_ = "education";
    public static final String Title_ = "title";
    public static final String Duties_ = "duties";
    public static final String IdType_ = "id_type";
    public static final String IdNumber_ = "id_number";
    public static final String IdUrl_ = "id_url";
    public static final String ImageUrl_ = "image_url";
    public static final String Height_ = "height";
    public static final String Weight_ = "weight";
    public static final String Sort_ = "sort";
    public static final String Status_ = "status";
    public static final String Remark_ = "remark";
    public static final String UpdateTime_ = "update_time";
    public static final String UpdateBy_ = "update_by";
    public static final String IsDel_ = "is_del";


    @ApiModelProperty(value = "护士ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "工号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "病区编码")
    @TableField("district_code")
    private String districtCode;

    @ApiModelProperty(value = "科室编码")
    @TableField("dept_code")
    private String deptCode;

    @ApiModelProperty(value = "用户ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "护士姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "性别（0-男、1-女、2-未知）")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "婚姻情况(0-未婚、1-已婚、2-未知)")
    @TableField("marriage")
    private Integer marriage;

    @ApiModelProperty(value = "出生日期")
    @TableField("birthday")
    private LocalDate birthday;

    @ApiModelProperty(value = "行政区代码")
    @TableField("pca_code")
    private Integer pcaCode;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "邮政编码")
    @TableField("post_code")
    private String postCode;

    @ApiModelProperty(value = "手机号码")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty(value = "简介")
    @TableField("intro")
    private String intro;

    @ApiModelProperty(value = "特长")
    @TableField("specialty")
    private String specialty;

    @ApiModelProperty(value = "区域编码")
    @TableField("area_code")
    private String areaCode;

    @ApiModelProperty(value = "学历")
    @TableField("education")
    private String education;

    @ApiModelProperty(value = "职称")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "社会机构及职务")
    @TableField("duties")
    private String duties;

    @ApiModelProperty(value = "证件类型")
    @TableField("id_type")
    private Integer idType;

    @ApiModelProperty(value = "证件号码")
    @TableField("id_number")
    private String idNumber;

    @ApiModelProperty(value = "证件图片")
    @TableField("id_url")
    private String idUrl;

    @ApiModelProperty(value = "护士头像图片")
    @TableField("image_url")
    private String imageUrl;

    @ApiModelProperty(value = "身高")
    @TableField("height")
    private BigDecimal height;

    @ApiModelProperty(value = "体重")
    @TableField("weight")
    private BigDecimal weight;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "状态1=有效，0=无效")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "删除标记")
    @TableField("is_del")
    private Boolean isDel;


}
